package com.briup.pts.config.property;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConditionalOnProperty(prefix = "upload.qiniu",name = "enable",havingValue = "true")
@ConfigurationProperties(prefix = "upload.qiniu")
public class QiniuProperty {
    private String accessKey;
    private String secretKey;
    private String bucketName;
    private String baseUrl;
}